package lab3;
public class MainTester {
    public static void main(String[] args) {
        System.out.println("屏幕显示 50 道加法运算题：");
        Exercise additionExercise = new Exercise();
        additionExercise.generateAdditionExercise(50);
        additionExercise.formatAndDisplay();
        
        System.out.println("\n屏幕显示 50 道减法运算题：");
        Exercise subtractionExercise = new Exercise();
        subtractionExercise.generateSubstractExercise(50);
        subtractionExercise.formatAndDisplay();
        
        System.out.println("\n屏幕显示 50 道加法或减法运算题：");
        Exercise mixedExercise = new Exercise();
        mixedExercise.generateExercise(50);
        mixedExercise.formatAndDisplay();
    }
}